package net.maku.module.business.convert;

import net.maku.module.business.entity.DictionariesSubsetEntity;
import net.maku.module.business.vo.DictionariesSubsetVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 业务_字典子类
 *
 * @author
 */
@Mapper
public interface DictionariesSubsetConvert {
    DictionariesSubsetConvert INSTANCE = Mappers.getMapper(DictionariesSubsetConvert.class);

    DictionariesSubsetEntity convert(DictionariesSubsetVO vo);

    DictionariesSubsetVO convert(DictionariesSubsetEntity entity);

    List<DictionariesSubsetVO> convertList(List<DictionariesSubsetEntity> list);

}